package com.onlinevideo.service;

import com.onlinevideo.entity.PageBean;
import com.onlinevideo.entity.RoleAuthority;
import com.onlinevideo.entity.RoleAuthorityDTO;

import java.util.List;

public interface RoleAuthorityService {
    int insert(RoleAuthority roleAuthority);

    int delete(Long id);

    List<RoleAuthorityDTO> queryByRoleId(Long roleId);

    List<RoleAuthority> queryAll();

    PageBean<RoleAuthority> findAllRoleAuthorityWithPage(Integer pageNo,Integer pageSize);
}
